package com.pinganfu.mock.service;

import java.util.List;

import com.pinganfu.mock.model.MethodEntity;

public interface IMethodService {
	/**
	 * 新建
	 * @param entity
	 * @return
	 */
	public Integer insertMethod(MethodEntity entity);
	
	/**
	 * 修改
	 * @param entity
	 * @return
	 */
	public Integer updateMethod(MethodEntity entity);
	
	/**
	 * 删除
	 * @param entity
	 * @return
	 */
	public Integer delMethod(MethodEntity entity);
	
	/**
	 * 查询全部Name
	 * @return
	 */
	public String[] getMethodName();
	
	
	/**
	 * 根据name查询备注
	 * @param entity
	 * @return
	 */
	public List<MethodEntity> getMethodDescription(MethodEntity entity);
}
